<!DOCTYPE html>
<html>
    <head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>分销商链接</title>
	<meta name="keywords" content="">
	<meta name="description" content="">
	<link rel="shortcut icon" href="../favicon.ico">
	<link href="__PUBLIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link rel="stylesheet" href="__PUBLIC__/css/ace.min.css"/>
	<link href="__PUBLIC__/css/font-awesome.css?v=4.4.0" rel="stylesheet">
	<link href="__PUBLIC__/css/animate.css" rel="stylesheet">
	<link href="__PUBLIC__/css/style.css?v=4.1.0" rel="stylesheet">
	<script src="__PUBLIC__/js/plugins/layer/laydate/laydate.js"></script>
	<style>
	    .table-container {
		overflow: auto;
	    }

	    .img {
		max-width: 64px;
		max-height: 64px;
	    }
	</style>
    </head>
    <body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
	    <div class="row">
		<div class="col-sm-12">
		    <div class="ibox float-e-margins">
			<div class="ibox-title">
			    <h5>分销-
				<small>列表</small>
			    </h5>
			    <div class="ibox-tools" >
			    </div>
			</div>
			<div class="ibox-content">

			    <table class="table table-striped table-bordered table-hover table-container">
				<thead>
				    <tr>
					<th>链接</th>

				    </tr>
				</thead>
				<tbody>

				    <tr >
					<td>
                                            <textarea cols="60" rows="2" id="biao1"><{$url}></textarea>
                                           
                                            </td>
                                            <td>
<input type="button" onClick="copyUrl2()" value="点击复制" />
                                           
                                            </td>
				    </tr>


				</tbody>
			    </table>

			</div>
		    </div>
		</div>
	    </div>
	</div>
	<!-- 全局js -->
	<script src="__PUBLIC__/js/jquery.min.js?v=2.1.4"></script>
	<script src="__PUBLIC__/js/bootstrap.min.js?v=3.3.6"></script>
	<!-- 自定义js -->
	<script src="__PUBLIC__/js/content.js?v=1.0.0"></script>
	<script src="__PUBLIC__/js/plugins/layer/layer.min.js"></script>
	<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
	<script>

function copyUrl2()
{
var Url2=document.getElementById("biao1");
Url2.select(); // 选择对象
document.execCommand("Copy"); // 执行浏览器复制命令
alert("已复制好，可贴粘。");
}


						   var deletesubmiturl = "<{:U('delete','','')}>";

						   function del(id) {
						       layer.confirm('确定删除该任务吗？', function (index) {
							   layer.close(index);
							   $.post(deletesubmiturl, {id: id},
								   function (data) {
								       if (data.ret == '1001') {
									   layer.msg(data.code, {icon: 6, time: 1000});
									   setTimeout(function () {
									       window.location.reload();
									   }, 1000);
								       } else {
									   layer.msg(data.code, {icon: 5, time: 1500});
								       }
								   }, 'json');
						       });
						   }

	</script>
    </body>
</html>
